package com.yic.module.device.controller.admin.inspectionRecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.yic.framework.excel.core.annotations.DictFormat;
import com.yic.framework.excel.core.convert.DictConvert;


/**
 * 巡检/点检记录 Excel VO
 *
 * @author 系统管理员
 */
@Data
public class InspectionRecordExcelVO {

    @ExcelProperty("主键")
    private Long id;

    @ExcelProperty("工单号")
    private String code;

    @ExcelProperty(value = "检验类型", converter = DictConvert.class)
    @DictFormat("device_inspect_type") // TODO 代码优化：建议设置到对应的 XXXDictTypeConstants 枚举类中
    private Integer inspectionType;

    @ExcelProperty("计划ID(检验类型为巡检时不为空)")
    private Long planId;

    @ExcelProperty("设备ID")
    private Long deviceId;

    @ExcelProperty("任务ID")
    private Long jobId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
